<ion-view view-title="项目分配" devin-hide-tabs="true">
  <ion-nav-buttons side="right">
    <span ng-click="submitAssigned()" class="nav-right-button">保存</span>
  </ion-nav-buttons>

  <ion-content class="my-bg">
    <ion-item ng-click="goAssignedChoice({},{},projectIntention.title)" style="margin-left: 0; height: 47px;" class="item-bg">
      <span class="project-spms-title">{{projectIntention.title}}</span>
      <i class="icon ion-chevron-right icon-accessory project-spms-accessory"></i>
    </ion-item>
    <div style="width: 100%; height: 10px;"></div>
    <ion-item style="margin-left: 0; height: 47px;" class="item-bg">
      <span style="font-size: 16px;" class="project-spms-title">{{projectIntention.projectNumber}}</span>
      <span class="project-spms-status">{{projectIntention.statusDesc}}</span>
    </ion-item>
    <ion-item class="item item-padding-left">
      <devin-task-item isdisable="true" icon="img/icon-people.png"  label="客户名称" canchoice="false" content="projectIntention.customerName"></devin-task-item>
      <devin-task-item isdisable="true" icon="img/icon1.png" label="客户联系人" canchoice="false" content="projectIntention.contacts"></devin-task-item>
      <devin-task-item isdisable="true" icon="img/icon-call.png" inputtype="tel" label="联系电话" canchoice="false" content="projectIntention.contactsTel"></devin-task-item>
      <devin-task-item isdisable="true" icon="img/icon-building.png" label="所属地区" canchoice="true" choicecontent="{{projectIntention.regionDesc}}"></devin-task-item>
      <devin-task-item isdisable="true" icon="img/icon-building.png" label="详细地址" canchoice="false" content="projectIntention.address"></devin-task-item>
      <devin-task-item isdisable="true" icon="img/icon1.png" widthpre="30" label="是否扶贫项目" canchoice="true"  choicecontent="{{projectIntention.supportingPoorFlagDesc}}"></devin-task-item>
      <devin-task-item isdisable="true" ng-show="projectIntention.supportingPoorFlag == 'Y'" icon="img/icon1.png" label="乡" canchoice="false" content="projectIntention.town"></devin-task-item>
      <devin-task-item isdisable="true" ng-show="projectIntention.supportingPoorFlag == 'Y'" icon="img/icon1.png" label="镇" canchoice="false" content="projectIntention.village"></devin-task-item>
      <ion-item class="item-bg" ng-hide="">
        <img ng-src="img/icon-pen.png">
        <span class="project-spms-label">意向备注</span>
        <textarea readonly style="background-color:white;resize:none; width: 100%;height: 80px; color: #CCCCCC" placeholder="请填写意向备注" ng-model="projectIntention.remark"></textarea>
      </ion-item>
      <devin-task-item ng-hide="true" icon="img/icon1.png" label="经销商" canChoice="true" content="projectIntention.distributorCode"></devin-task-item>
    </ion-item>
    <div class="page-bottom"></div>
  </ion-content>
</ion-view>
